package net.mfjassociates.finance.domain.mfjfin_newdb;

import javax.persistence.Column;
import javax.persistence.Embeddable;
import org.springframework.roo.addon.jpa.identifier.RooIdentifier;

@Embeddable
@RooIdentifier(dbManaged = false)
public final class ExpenseCodesPK {

	@Column(name = "ExpenseCodeID", nullable = false)
    private Integer expenseCodeId;

	@Column(name = "ExpenseCode", nullable = false, length = 30)
    private String expenseCode;

	public ExpenseCodesPK(Integer expenseCodeId, String expenseCode) {
        super();
        this.expenseCodeId = expenseCodeId;
        this.expenseCode = expenseCode;
    }

	private ExpenseCodesPK() {
        super();
    }

	public Integer getExpenseCodeId() {
        return expenseCodeId;
    }

	public String getExpenseCode() {
        return expenseCode;
    }
}
